/*! \file
 *      \brief The first user program - 
 *
 */

#include <scwrapper.h>

void
main(int argc, char* argv[]) {
	createprocess(1);
	createprocess(2);
	
	printat(0, 0, "This is the top line");

	printat(1, 2, "This is the second line and third column");
	int i = 0;
	while (1) {
		long scan_code = getscancode();
		if (0x1c == scan_code) {
			printat(2, 3, "Enter pressed ");
		} else if (0x9c == scan_code) {
			printat(2, 3, "Enter released");
		}
	}
}
